package com.zim.access.service;

import com.zim.access.infrastructurre.mybaties.session.SessionMapper;
import com.zim.access.service.session.SessionService;
import com.zim.access.service.session.impl.SessionServiceImpl;
import org.springframework.context.annotation.Bean;

/**
 * @author hanyue
 * @version 1.0
 * @date 2021/12/27 上午10:18
 */
public class ServiceAutoConfiguration {

    @Bean
    public SessionService sessionService(SessionMapper sessionMapper) {
        return new SessionServiceImpl(sessionMapper);
    }
}
